/******************************************************************************
/
/  Authors:
/           Ilan Bar-Magen    061220380  silanm@t2 
/    		Shalev Mintz      066078189  shalevmi@t2  
/
/  Submition date: 6/8/2008
/
/  
/
/
******************************************************************************/
#include "defenitions.h"

StatusType convert_result (SL_RESULT res)
{
	switch(res)
	{
	case SL_SUCCESS  : return SUCCESS;
	case SL_BAD_ALLOC: return FAILURE; //ALLOCATION_ERROR;
	default          : return FAILURE;
	}
}
